import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/Customer/CustomerPickList',
    method: 'get',
    params,
  })
}

export function CustomerAllPickList(data: any) {
  return request({
    url: '/customer/CustomerAllPickList',
    method: 'post',
    data,
  })
}

export function SaveCustomer(data: any) {
  return request({
    url: '/customer/SaveCustomer',
    method: 'post',
    data,
  })
}

export function CustomerLicenses(data: any) {
  return request({
    url: '/customer/CustomerLicenses',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/customer/dataedit/doEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/customer/dataedit/doDelete',
    method: 'post',
    data,
  })
}
